    
     function Mantencion(){
      /** 
      * @private
      */
      this.operation_date = null;
      /** 
      * @private
      */
      this.operation_type = 0;
      /**  
      * @private
      */
      this.comtec_id_operation = 0;
       /**      
      * @private
      */
      this.name = null;
       /**     
      * @private
      */
      this.lastname1 = null;
       /**     
      * @private
      */
      this.lastname2 = null;
       /**   
      * @private
      */
      this.hora_inicio = null;
       /**   
      * @private
      */
      this.changed_parts = null;
       /** 
      * @private
      */
      this.diagnosis = null;
       /**     
      * @private
      */
      this.notes = null;
       /**  
      * @private
      */
      this.notes_for_owner = null;
       /**   
      * @private
      */
      this.tag_id_machine = null;
       /**      
      * @private
      */
      this.cod_mainteiner = null;
       /**     
      * @private
      */
      this.brand = null;
       /** 
      * @private
      */
      this.model = null;
       /**   
      * @private
      */
      this.year = 0;
       /**
      * @private
      */
      this.contact = null;
       /**
      * @private
      */
      this.company_name = null;
       /**
      * @private
      */
      this.comtec_id_owner = 0;
       /**
      * @private
      */
      this.cod_owner = null;
     }
     
     Mantencion.prototype.getOperation_date = function(){
      return this.operation_date;
     };

     Mantencion.prototype.setOperation_date = function(operation_date){
      this.operation_date = operation_date;
     };

     Mantencion.prototype.getOperation_type = function(){
      switch(this.operation_type){
       case "1": return "Mantenci&oacute;n"; break;
       case "2": return "Emergencia"; break;
       case "3": return "Instalaci&oacute;n"; break;
      }
      return null;
     };

     Mantencion.prototype.setOperation_type = function(operation_type){
      this.operation_type = operation_type;
     };

     Mantencion.prototype.setComtec_id_operation = function(comtec_id_operation){
      this.comtec_id_operation = comtec_id_operation;
     };

     Mantencion.prototype.getComtec_id_operacion = function(){
      return this.comtec_id_operation;
     };

     Mantencion.prototype.setName = function(name){
       this.name = name;
     };

     Mantencion.prototype.getName = function(){
      return this.name;
     };

     Mantencion.prototype.setLastname1 = function(lastname1){
       this.lastname1 = lastname1;
     };

     Mantencion.prototype.getLastname1 = function(){
      return this.lastname1;
     };

     Mantencion.prototype.setLastname2 = function(lastname2){
       this.lastname2 = lastname2;
     };

     Mantencion.prototype.getLastname2 = function(){
      return this.lastname2;
     };
     
     Mantencion.prototype.setHora_inicio = function(hora_inicio){
      this.hora_inicio = hora_inicio;    
     };

     Mantencion.prototype.getHora_inicio = function(){
      return this.hora_inicio;
     };

     Mantencion.prototype.setChanged_parts = function(changed_parts){
      this.changed_parts = changed_parts;
     };

     Mantencion.prototype.getChanged_parts = function(){
      return this.changed_parts;
     };

     Mantencion.prototype.setDiagnosis = function(diagnosis){
      this.diagnosis = diagnosis;
     };

     Mantencion.prototype.getDiagnosis = function(){
      return this.diagnosis;
     };

     Mantencion.prototype.setNotes = function(notes){
      this.notes = notes;
     };

     Mantencion.prototype.getNotes = function(){
      return this.notes;
     };

     Mantencion.prototype.setNotes_for_owner = function(notes_for_owner){
      this.notes_for_owner = notes_for_owner;
     };

     Mantencion.prototype.getNotes_for_owner = function(){
      return this.notes_for_owner;
     };

     Mantencion.prototype.setTag_id_machine = function(tag_id_machine){
      this.tag_id_machine = tag_id_machine;
     };

     Mantencion.prototype.getTag_id_machine = function(){
      return this.tag_id_machine;
     };

     Mantencion.prototype.setCod_mainteiner = function(cod_mainteiner){
      this.cod_mainteiner = cod_mainteiner;
     };

     Mantencion.prototype.getCod_mainteiner = function(){
      return this.cod_mainteiner;
     };
     
     Mantencion.prototype.setBrand = function(brand){
      this.brand = brand;
     };

     Mantencion.prototype.getBrand = function(){
      return this.brand;
     };

     Mantencion.prototype.setModel = function(model){
      this.model = model;
     };

     Mantencion.prototype.getModel = function(){
      return this.model;
     };

     Mantencion.prototype.setYear = function(year){
      this.year = year;
     };

     Mantencion.prototype.getYear = function(){
      return this.year;
     };

     Mantencion.prototype.setContact = function(contact){
      this.contact = contact;
     };

     Mantencion.prototype.getContact = function(){
      return this.contact;
     };

     Mantencion.prototype.getCompany_name = function(){
      return this.company_name;
     };

     Mantencion.prototype.setCompany_name = function(company_name){
      this.company_name = company_name;
     };

     Mantencion.prototype.getComtec_id_owner = function(){
      return this.comtec_id_owner;
     };

     Mantencion.prototype.setComtec_id_owner = function(comtec_id_owner){
       this.comtec_id_owner = comtec_id_owner;
     };
     
     Mantencion.prototype.setCod_owner = function(cod_owner){
      this.cod_owner = cod_owner;   
     };
     
     Mantencion.prototype.getCod_owner = function(){
      return this.cod_owner;   
     };

